package com.bacel.nb.product.web.util;

import com.bacel.nb.product.core.domain.Device;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/31 0031.
 */
public class DeviceCache {
    private static Map<String,Device> deviceMap;

    public static Map<String,Device> getInstance() {
        if (deviceMap == null) {
            deviceMap = new HashMap<>();
        }
        return deviceMap;
    }
}
